//
//  UUCarEditRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 31/01/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUCarEditRequestModel.h"

@implementation UUCarEditRequestModel

- (instancetype)init {
    self = [super init];
    if (self) {
        [self addIgnoredObjects:@[@"carId"]];
    }
    return self;
}

- (NSString *)url {
    return [NSString stringWithFormat:@"%@/%@", [super url], self.carId];
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodPut;
}

- (Class)responseModelClass {
    return [UUCarEditResponseModel class];
}

@end

@implementation UUCarEditResponseModel

@end
